package com.haoxuewa.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
/**
 * 用户发布的文章
 */
public class Essay {
    @TableId
    private Integer id;
    private String title;
    private String author;
    private Date time;
    // 封面
    private String cover;
    private String text;
    private String category;
    private String partition;
    private String topic;
    private Integer support;
    private  Integer collection;
}